import KoaRouter from 'koa-router';
import {RouterFunctionCallback} from '@/types/middleware';
export default (callback: RouterFunctionCallback) => {
    return (router: KoaRouter) => callback(router);
}